<?php
?>
<input type="hidden" id="hiddenId" value="<?= $id ?>">
<div class="form-horizontal">
    <div class="form-group">
        <label class="col-lg-3 col-sm-3 control-label">商户平台编码：</label>
        <div class="col-lg-9">
            <input type="text" class="form-control" autofocus id="inputCode"
                <?php
                if ($item != null) {
                    echo "value='" . $item['code'] . "'";
                } ?>
            />
        </div>
    </div>

    <div class="form-group">
        <label class="col-lg-3 col-sm-3 control-label">商户平台名称：</label>
        <div class="col-lg-9">
            <input type="text" class="form-control" autofocus id="inputName"
                <?php
                if ($item != null) {
                    echo "value='" . $item['name'] . "'";
                } ?>
            />
        </div>
    </div>
</div>